package com.scf.fruit.web;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@SpringBootApplication
@MapperScan(basePackages = { "com.scf.fruit.**.dao" })
@ComponentScans({@ComponentScan("com.scf.fruit")})
public class WebApplication extends WebMvcConfigurerAdapter{
	public static void main(String[] args) {
		SpringApplication.run(WebApplication.class, args);
	}
}
